// 左侧菜单导航数据
export const leftNavList: WorkflowDesignNode[] = [
  {
    id: '1',
    nodeId: '1',
    label: '工作流',
    icon: 'iconfont icon-shouye',
    isOpen: true,
    children: [
      {
        icon: 'iconfont icon-step',
        className: 'workflow-success',
        id: 'start',
        nodeId: 'start',
        form: [
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          }
        ],
        nodeType: 0,
        descript: '',
        label: '开始',
        roleId: ''
      },
      {
        icon: 'iconfont icon-radio-off-full',
        className: 'workflow-danger',
        id: 'end',
        nodeId: 'end',
        form: [
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          }
        ],
        nodeType: 1,
        descript: '',
        label: '结束',
        roleId: ''
      }
    ]
  },
  {
    id: '2',
    nodeId: '2',
    label: '模板',
    icon: 'iconfont icon-shuxingtu',
    isOpen: true,
    children: [
      {
        icon: 'iconfont icon-zhongyingwenyuyan',
        className: 'workflow-primary',
        id: 'XZSP',
        nodeId: '',
        form: [
          {
            type: 'el-select',
            label: '节点类型',
            prop: 'nodeType',
            placeholder: '请选择节点类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '流程类型',
            prop: 'approvalUserType',
            placeholder: '请选择流程类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-switch',
            label: '修改提交人',
            prop: 'formSubmitUser',
            placeholder: '修改提交人',
            disabled: false
          }
        ],
        nodeType: 2,
        approvalUserType: 0,
        descript: '',
        label: '选择审批',
        roleId: ''
      },
      {
        icon: 'iconfont icon-gerenzhongxin',
        className: 'workflow-warning',
        id: 'JSSP',
        nodeId: '',
        form: [
          {
            type: 'el-select',
            label: '节点类型',
            prop: 'nodeType',
            placeholder: '请选择节点类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '流程类型',
            prop: 'approvalUserType',
            placeholder: '请选择流程类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '审批角色',
            prop: 'roleId',
            placeholder: '请选择审批角色',
            required: true,
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-switch',
            label: '修改提交人',
            prop: 'formSubmitUser',
            placeholder: '修改提交人',
            disabled: false
          }
        ],
        nodeType: 2,
        approvalUserType: 1,
        descript: '',
        label: '角色审批',
        roleId: ''
      },
      {
        icon: 'iconfont icon-tuichuquanping',
        className: 'workflow-other-1',
        id: 'DTSP',
        nodeId: '',
        form: [
          {
            type: 'el-select',
            label: '节点类型',
            prop: 'nodeType',
            placeholder: '请选择节点类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '流程类型',
            prop: 'approvalUserType',
            placeholder: '请选择流程类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '角色类型',
            prop: 'roleType',
            placeholder: '请选择角色类型',
            required: false,
            disabled: false,
            clearable: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '角色关联',
            prop: 'roleRelType',
            placeholder: '请选择角色关联',
            required: false,
            disabled: false,
            clearable: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-switch',
            label: '修改提交人',
            prop: 'formSubmitUser',
            placeholder: '修改提交人',
            disabled: false
          }
        ],
        nodeType: 2,
        approvalUserType: 2,
        descript: '',
        label: '动态审批',
        roleId: ''
      },
      {
        icon: 'iconfont icon-icon-',
        className: 'workflow-other-2',
        id: 'JSCS',
        nodeId: '',
        form: [
          {
            type: 'el-select',
            label: '节点类型',
            prop: 'nodeType',
            placeholder: '请选择节点类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '流程类型',
            prop: 'approvalUserType',
            placeholder: '请选择流程类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '审批角色',
            prop: 'roleId',
            placeholder: '请选择审批角色',
            required: true,
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-switch',
            label: '修改提交人',
            prop: 'formSubmitUser',
            placeholder: '修改提交人',
            disabled: false
          }
        ],
        nodeType: 3,
        approvalUserType: 1,
        descript: '',
        label: '角色抄送',
        roleId: ''
      },
      {
        icon: 'iconfont icon-caidan',
        className: 'workflow-other-3',
        id: 'DTCS',
        nodeId: '',
        form: [
          {
            type: 'el-select',
            label: '节点类型',
            prop: 'nodeType',
            placeholder: '请选择节点类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '流程类型',
            prop: 'approvalUserType',
            placeholder: '请选择流程类型',
            required: true,
            disabled: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '角色类型',
            prop: 'roleType',
            placeholder: '请选择角色类型',
            required: false,
            disabled: false,
            clearable: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '角色关联',
            prop: 'roleRelType',
            placeholder: '请选择角色关联',
            required: false,
            disabled: false,
            clearable: true,
            filterable: false
          },
          {
            type: 'el-select',
            label: '编辑字段',
            prop: 'formEditItemList',
            placeholder: '请选择编辑字段',
            disabled: false,
            clearable: true,
            filterable: true
          },
          {
            type: 'el-switch',
            label: '修改提交人',
            prop: 'formSubmitUser',
            placeholder: '修改提交人',
            disabled: false
          }
        ],
        nodeType: 3,
        approvalUserType: 2,
        descript: '',
        label: '动态抄送',
        roleId: ''
      }
    ]
  },
  {
    id: '3',
    nodeId: '3',
    label: '快捷节点',
    icon: 'ele-Pointer',
    isOpen: true,
    children: []
  }
]
